package com.zmc.common.domain.query.coupon;

import com.zmc.common.annotation.EsQuery;
import com.zmc.common.enums.es.EsQueryEnum;
import com.zmc.common.vo.PageVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author：zmc
 * @Date：2024/12/27 15:04
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class CouponEsFeignQuery extends PageVo {

    @EsQuery(value = EsQueryEnum.NO_QUERY)
    public int type;

    @EsQuery(value = EsQueryEnum.NO_QUERY)
    public Long couponId;

    @EsQuery(name = "spuTitle", value = EsQueryEnum.VAGUE_QUERY)
    public String name;

    @EsQuery(name = "merchantId", value = EsQueryEnum.FILTER_QUERY)
    public String merchantId;

    @EsQuery(name = "skuId", value = EsQueryEnum.MUST_NOT)
    public List<String> skuIds;
}
